package com.qiche.dto;

import lombok.Data;

import java.util.Date;

/**
 * @author chendezhi
 * @date 2018/3/28 15:00
 * <p>
 * 用户卡券
 */
@Data
public class MemberCardItemDto {

    private Long id;

    private String cardCode;

    private String merchantName;

    /**
     * 2表示已核销
     * <p>
     * 1表示未核销
     */
    private String status;

    private String getAmount;

    private Date verifyBeginDate;

    private Date verifyEndDate;

    private String cardTitle;

    private Date verifyDate;

    private Long memberId;
    
    /**
     * 核销人
     */
    private String verifyUserName;

    public boolean isVerify() {
        return "2".equals(status);
    }
}
